package com.ys.config;

import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;

import java.util.List;

@Configuration
public class FastJsonConfig {
    @Bean
    public HttpMessageConverter<?> fastJsonHttpMessageConverter() {
        return new FastJsonHttpMessageConverter();
    }
} 